package com.gf.message.model;

import java.io.Serializable;
import java.util.Date;

import com.gf.base.type.MessageState;
import com.gf.base.type.MessageType;

/**
 * 站内消息
 * 
 * @author zhuguifeng
 * 
 */
public class Message implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private long senderId;
	private String senderName;// 发送者的昵称,不是真实姓名
	private long receiveId;
	private String receiveName;// 接收者的昵称,不是真实姓名
	private String draftReceiveIds;// 当为草稿时，该选项用于存储接收的人ID：2-34-21
	private String draftReceiveNames;// 当为草稿时，该选项用于存储接收的人昵称：bobo136-bobob137-bob138
	private String title;
	private String content;
	private Date createTime;
	private String formatCreateTime;
	private MessageType messageType;
	private MessageState senderState;//本邮件对发送人的状态
	private MessageState receiverState;//本邮件对接收人的状态

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getSenderId() {
		return senderId;
	}

	public void setSenderId(long senderId) {
		this.senderId = senderId;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public long getReceiveId() {
		return receiveId;
	}

	public void setReceiveId(long receiveId) {
		this.receiveId = receiveId;
	}

	public String getReceiveName() {
		return receiveName;
	}

	public void setReceiveName(String receiveName) {
		this.receiveName = receiveName;
	}

	public String getDraftReceiveIds() {
		return draftReceiveIds;
	}

	public void setDraftReceiveIds(String draftReceiveIds) {
		this.draftReceiveIds = draftReceiveIds;
	}

	public String getDraftReceiveNames() {
		return draftReceiveNames;
	}

	public void setDraftReceiveNames(String draftReceiveNames) {
		this.draftReceiveNames = draftReceiveNames;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public MessageType getMessageType() {
		return messageType;
	}

	public void setMessageType(MessageType messageType) {
		this.messageType = messageType;
	}

	public MessageState getSenderState() {
		return senderState;
	}

	public void setSenderState(MessageState senderState) {
		this.senderState = senderState;
	}

	public MessageState getReceiverState() {
		return receiverState;
	}

	public void setReceiverState(MessageState receiverState) {
		this.receiverState = receiverState;
	}

	public String getFormatCreateTime() {
		return formatCreateTime;
	}

	public void setFormatCreateTime(String formatCreateTime) {
		this.formatCreateTime = formatCreateTime;
	}

}
